package com.sd.nacosdemo.entity;

import java.io.Serializable;

/**
 * (Department)实体类
 *
 * @author makejava
 * @since 2021-06-24 14:00:08
 */
public class Department implements Serializable {
    private static final long serialVersionUID = 384028074788590911L;
    /**
     * 部门id
     */
    private Integer departmentid;
    /**
     * 部门名称
     */
    private String dname;
    /**
     * 部门简介
     */
    private String dtext;


    public Integer getDepartmentid() {
        return departmentid;
    }

    public void setDepartmentid(Integer departmentid) {
        this.departmentid = departmentid;
    }

    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }

    public String getDtext() {
        return dtext;
    }

    public void setDtext(String dtext) {
        this.dtext = dtext;
    }

    public Department() {
    }

    public Department(Integer departmentid, String dname, String dtext) {
        this.departmentid = departmentid;
        this.dname = dname;
        this.dtext = dtext;
    }

    @Override
    public String toString() {
        return "Department{" +
                "departmentid=" + departmentid +
                ", dname='" + dname + '\'' +
                ", dtext='" + dtext + '\'' +
                '}';
    }
}
